import React, {Component} from 'react';
import './style/index.css'
import {createStore} from 'redux'
import reducer from './redux/reducer'
import {Provider} from 'react-redux'
import Header from './containers/Header'
import Content from './containers/Content'
import Footer from './containers/Footer'

const store = createStore(reducer);

class App extends Component {

    render() {
        return (
            <Provider store={store}>
                <div>
                    <Header/>
                    <Content/>
                    <Footer/>
                </div>
            </Provider>
        );
    }
}

export default App;
